crontab -l //list crontab
crontab -r //remove crontab
crontab -e //edit crontab
- minute hour day-of-month month day-of-week cmd
- each term can be a single number, e.g., 3, or a range, e.g., 3-6, or a set, e.g., 3,5,7, or interval, e.g., */10
- for example, “ /10 * sh ~/cmd.sh” means executing cmd.sh every 10 minutes.
In windows, the function of contrab can be realized by using “task scheduler”.